package com.aceitunaproject.shared.message.concrete;

/**
 * Action Request class for a "Recruit unit" order
 * 
 * @author Federico Bergstein
 * 
 */

public class RecruitUnitRequest extends ActionRequest {

	public static final String TYPE = "RecruitUnitRequest";

	private static final long serialVersionUID = 5262257717172918329L;

	private String name;

	private int persons;
	
	public RecruitUnitRequest() {
		super(TYPE);
	}

	
	/**
	 * @param name
	 *            the name of the unit to recruit
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the name of the unit to recruit
	 */
	public String getName() {
		return name;
	}


	/**
	 * @param the number persons in the new unit
	 */
	public void setPersons(int persons) {
		this.persons = persons;
	}


	/**
	 * @return  the number persons in the new unit
	 */
	public int getPersons() {
		return persons;
	}


	
	
	

}
